package cn.jingyuan.fox.module.core.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * Integer枚举值
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class EnumIntegerDto implements Serializable {

    /** 枚举编码 */
    private Integer code;

    /** 枚举名称 */
    private String name;

    public EnumIntegerDto() {}

    public EnumIntegerDto(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

}
